package com.example.mysql.jpa.domain;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "test")
@Data
public class TestData
{
    @Id
    @Column(name = "id")
    private Integer id;

    @Column(name = "text")
    private String text;
}
